INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src
                    ${CMAKE_SOURCE_DIR}/include
                    ${CMAKE_SOURCE_DIR}/src/business
                    ${CMAKE_SOURCE_DIR}/src/TCP
                    ./)


set(backend_app_name ${PROJECT_NAME}_backend_user_auth)

add_executable(${backend_app_name} ./server_backend.cpp
                                   ./business.cpp)
TARGET_LINK_LIBRARIES(${backend_app_name} tcp ${pkgs_LDFLAGS})
set_target_properties(${backend_app_name} PROPERTIES
	COMPILE_DEFINITIONS "TEST_SOCKET_CLIENT_1")


INSTALL( TARGETS ${backend_app_name}
    DESTINATION ${CMAKE_INSTALL_PREFIX}/bin )
